﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VRacer
{
    /// <summary>
    /// Zawiera dane zdarzenia informujacego o wypadku zawodnika z innym zawodnikiem
    /// </summary>
    public class PlayerCollisionEventArgs : EventArgs
    {
        private PlayerBase _player;

        public PlayerCollisionEventArgs(PlayerBase player)
        {
            _player = player;
        }

        /// <summary>
        /// Zawodnik ktory uderzyl
        /// </summary>
        /// <value>The player.</value>
        public PlayerBase Player
        {
            get { return _player; }
        }
    }
}
